package com.artevivo.managedBeans;

import javax.faces.bean.SessionScoped;

import org.springframework.stereotype.Controller;

import com.artevivo.entidades.Anyo;
import com.artevivo.entidades.Curso;
import com.artevivo.entidades.Matricula;

@Controller(value = "sessionMB")
@SessionScoped
public class SessionManagedBean {
    private Matricula selectedMatricula;

    private Curso selectedCurso;
    
    private Anyo selectedAnyo;

    public Matricula getSelectedMatricula() {
        return selectedMatricula;
    }

    public void setSelectedMatricula(Matricula selectedMatricula) {
        this.selectedMatricula = selectedMatricula;
    }

    public Curso getSelectedCurso() {
        return selectedCurso;
    }

    public void setSelectedCurso(Curso selectedCurso) {
        this.selectedCurso = selectedCurso;
    }
    
    public Anyo getSelectedAnyo() {
        return selectedAnyo;
    }

    public void setSelectedAnyo(Anyo selectedAnyo) {
        this.selectedAnyo = selectedAnyo;
    }

}
